package com.aidex.biz.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 左心房客户推送信息对象 biz_customer
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2023-04-03
 */
@Data
public class Customer extends BaseEntity<Customer> {
    private static final long serialVersionUID = 1L;



    /**
     * 所在城市
     */
    @Excel(name = "所在城市")
    private String cityName;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    private String cusName;

    /**
     * 房产类型
     */
//    @Excel(name = "房产类型")
    private String houseType;

    /**
     * 电话
     */
    @Excel(name = "电话")
    private String phone;

    /**
     * 申请金额
     */
    @Excel(name = "申请金额")
    private String amount;
    /**
     * 申请类型
     */
    @Excel(name = "申请类型")
    private String type;

    /**
     * 车辆类型
     */
//    @Excel(name = "车辆类型")
    private String carModel;


    /**
     * 车房估值
     */
//    @Excel(name = "车房估值")
    private String price;



    /**
     * 分享时间
     */
    /**
     * 创建时间
     */
    @Excel(name = "分配时间",dateFormat="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shareDate;

    /**
     * 分享时间开始
     */
    private String beginShareDate;

    /**
     * 分享时间结束
     */
    private String endShareDate;
    /**
     * 公积金
     */
//    @Excel(name = "公积金")
    private String accumulation;

    /**
     * 车辆状况
     */
//    @Excel(name = "车辆状况")
    private String carStatus;

    /**
     * 保单情况
     */
//    @Excel(name = "保单情况")
    private String policy;

    /**
     * 性别
     */
//    @Excel(name = "性别")
    private String sex;

    /**
     * 社保
     */
//    @Excel(name = "社保")
    private String social;

    /**
     * 拨打时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dailTime;

    /**
     * 拨打时间开始
     */
    private String beginDailTime;

    /**
     * 拨打时间结束
     */
    private String endDailTime;
    /**
     * 是否拨打
     */
//    @Excel(name = "是否拨打")
    private Long isDail;

    /**
     * clue_id
     */

    private String clueId;

    /**
     * IP
     */
    @Excel(name = "IP")
    private String ip;

    /**
     * IP
     */
    @Excel(name = "备注信息")
    private String remark;

    /**
     * 排序
     */

    private Integer sort;

    /**
     * 状态（0待分配1 已分配 -99 分配失败）
     */

    private String status;



    private Date nextTime;
    private Date endTime;
    private String level;
    private String progress;
    // 推送情况
    private String info;


    /**
     * 左心房数据接受时间
     */
    @Excel(name = "创建时间",dateFormat="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date  receiveTime;



    public String getBeginShareDate() {
        return beginShareDate;
    }

    public void setBeginShareDate(String beginShareDate) {
        this.beginShareDate = beginShareDate;
    }

    public String getEndShareDate() {
        return endShareDate;
    }

    public void setEndShareDate(String endShareDate) {
        this.endShareDate = endShareDate;
    }

    public String getBeginDailTime() {
        return beginDailTime;
    }

    public void setBeginDailTime(String beginDailTime) {
        this.beginDailTime = beginDailTime;
    }

    public String getEndDailTime() {
        return endDailTime;
    }

    public void setEndDailTime(String endDailTime) {
        this.endDailTime = endDailTime;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCusName(String cusName) {
        this.cusName = cusName;
    }

    public String getCusName() {
        return cusName;
    }

    public void setHouseType(String houseType) {
        this.houseType = houseType;
    }

    public String getHouseType() {
        return houseType;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPrice() {
        return price;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setShareDate(Date shareDate) {
        this.shareDate = shareDate;
    }

    public Date getShareDate() {
        return shareDate;
    }

    public void setAccumulation(String accumulation) {
        this.accumulation = accumulation;
    }

    public String getAccumulation() {
        return accumulation;
    }

    public void setCarStatus(String carStatus) {
        this.carStatus = carStatus;
    }

    public String getCarStatus() {
        return carStatus;
    }

    public void setPolicy(String policy) {
        this.policy = policy;
    }

    public String getPolicy() {
        return policy;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSex() {
        return sex;
    }

    public void setSocial(String social) {
        this.social = social;
    }

    public String getSocial() {
        return social;
    }

    public void setDailTime(Date dailTime) {
        this.dailTime = dailTime;
    }

    public Date getDailTime() {
        return dailTime;
    }

    public void setIsDail(Long isDail) {
        this.isDail = isDail;
    }

    public Long getIsDail() {
        return isDail;
    }

    public void setClueId(String clueId) {
        this.clueId = clueId;
    }

    public String getClueId() {
        return clueId;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("userId", getUserId()).append("deptId"
                , getDeptId()).append("userName", getUserName()).append("deptName", getDeptName()).append("companyId"
                , getCompanyId()).append("carModel", getCarModel()).append("cityName", getCityName()).append("cusName"
                , getCusName()).append("houseType", getHouseType()).append("phone", getPhone()).append("price",
                getPrice()).append("type", getType()).append("shareDate", getShareDate()).append("accumulation",
                getAccumulation()).append("carStatus", getCarStatus()).append("policy", getPolicy()).append("sex",
                getSex()).append("social", getSocial()).append("dailTime", getDailTime()).append("isDail",
                getIsDail()).append("clueId", getClueId()).append("ip", getIp()).append("sort", getSort()).append(
                        "status", getStatus()).append("remark", getRemark()).append("id", getId()).append("createBy",
                getCreateBy()).append("createDept", getCreateDept()).append("createTime", getCreateTime()).append(
                        "updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("updateIp",
                getUpdateIp()).append("version", getVersion()).append("delFlag", getDelFlag()).toString();
    }
}
